Marks specification with incorrect arity as error.